Prevent deleting item from triggering renaming