Remember query when filtering on location.