Fix "Undo remove" button enable/disable behavior.