LP#1694577: tweak searching for words in report templates