Fixed a small bug in Trie with object equality comparisons