Added Distance logic for searched courts.