Completed SolveParameters.ToQueryString function.