Abaqus - Export job to Nastran generate error message global name 'status' is not defined

Im trying to export a model to the Nastran BDF format. The file will not be generated due to global name "status" is not defined message. Any reason why this is showing up?

Abaqus ​​​​​​​