fixed setting the value of a non-nullable, non-required field to NULL