### What problem does this PR solve? #5214 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.17.1
| @@ -66,7 +66,7 @@ class FulltextQueryer: | |||
| otxt = txt | |||
| for r, p in patts: | |||
| txt = re.sub(r, p, txt, flags=re.IGNORECASE) | |||
| if not otxt: | |||
| if not txt: | |||
| txt = otxt | |||
| return txt | |||