Fix leftover trie code