Do not strip search component in getFragment

Was causing incorrect parameter handling under devices without pushState when the pushState flag is enabled.