Parameter with null value in extendUrl(url, newParams) are removed within the resulting url