Proper calculation of trie-derived probabilities.