Slight changes on how hashmap iterator works.