Fixed a problem with my trie that as causing incorrect token id matching. This had to do with the binary search used in array inserts, there was bug where the 2nd inserted item to could result in the array not being sorted.