[SW] Bug 940273 Include the ref segment of the URL when ignoreSearch is set.