Fix xdebug notice if new field value is undefined.