fix bug: TailLOUDSTrie doesn't return correct termId in
commonPrefixSearch and predictiveSearch.