Fix: trie: fixes regression caused by ref count refactoring
Merge pull request #118 from davidvossel/master

Fix: trie: fixes regression caused by ref count refactoring