Fix wrong field values when adding items