Fixing bug where it was possible to delete an exit while renaming it.