Fix finding repeated word bug

Finding 'aalsaals' returned true if 'aals' is in trie.