Fixing the locations search.