Fixing getting something from the hash table after removal