Set nil instead of empty string in DB on update/create fields