fix search query encoding

this works with the new backend changes
Merge pull request #93 from denibertovic/fix_wrong_encoding

fix search query encoding