cleanup SQLCatalog_makeSearchTextQuery.