Fixes problem with UTF-8 chars 

Wildcard compiles in ASCII-8bit, but query is UTF-8 which cause problem.