Fix problem where inserting with nulls on fields with a nullValue substi...

...tute wasn't working.