Bug fixes, was adding full hashes to incorrect trie