Fix crash in Edit context menu.