Removed bug with improper utf-8 query encoding.