Fix JobRecord isComplete so that failed submissions register as completed, ensure that required attributes are not None