Changed Professor controller to fix bug that saved nil values to all but the ID field.