Indeed it was! Thanks for catching that. I've uploaded a fixed version of my fix that should hopefully stop breaking that.
FYI for anyone checking the code: Now in total I've changed lines 90 and 115 (maybe should have done that before) from string.match(s,s) to string.find(s,s,1,true), and I've removed the gsubs from line 99 that were adding escape characters to parentheses.

