Fix request URI generation, query string was appended without question mark