Fixed issues with modification of mutable trie, issue 6