Adjusted to order autocomplete results by distance