Fixed the ending slash + querystring.