Fix: when query had unicode characters it was failling to execute