Fix for "fold similar" functionality at the base of the trie.  Fixes #2