Fix IE doubling the query parameters

Fix IE doubling the query parameters on the url (before and after the fragment), now it shows only before the fragment.