HCSVLAB-362: improve text validation on concordance search.