Decode the query before inserting it to the URL