Fix multiple question-marks in query string