correct schema selection when url has parameters