Don't leave a trailing equal sign in the URL

Don't leave a trailing equal sign in the URL if a queryParam has an empty value