Fix search by whole name in text dialog box