Reintroduce a check in edit_fnc.