Field value is removed after editing submission due to conflicting conditions