I forgot a call to InitializeReplacementStringsArray. Woops.