IE8 fix: unable to navigate when hash contains query parameters

This PR fixes a problem with hash navigation: when a URL contains search params router.navigate() won't work.