Fixed bug: Cannot delete key if not present