Switched to hashbimap and fixed hashmap problem.