Don't trim path unless querystring present