Fix handling of updating empty fields.