Fix textflow search criteria