Fixed possible undef behaviour when removing fields

in step_in_field() and mon_in_field()