Handles the case when there is both a parameter specification and the URI already contains some.