Fixed regression -- respect location.search in getFragment