Default parameters with additional query parameters were modifying the original defaultParams object