Update search query url,fixes #6047