Fix crash when deleting missing entry.