When adding query parameters, they were not properly url encoded