Corrected hashmap get with hashcode