Fix for LIKE queries.