Fix issue with structured queries on URL

Fix issue where structured queries containing '=' don't get serialized to the URL properly.