(bug #4052) fix mandatory field/subfield deletion