Bug fixed: preg_quote added to the query string.