Filter short ngrams out of SubstringTrees.