Fix hashtag replacement by removing # from search URL

Including this hash in the search URL stops the search from working.