Fixed a heap buffer overflow in trie array inserts. It's amazing the program has worked this long without this error affecting anything.