fixed bug on contains(), smart_query uses ilike instead of like