Fixes problem with coping empty fields.

...ue for the field in question.  Example error is: The request sent by the client was syntactically incorrect (ERROR: [doc=4034/E0DQ3] Error adding field 'my_field'='undefined')