(1) Add the lang() function call to define the language of the properties returned by the search endpoint
(2) Fix a typo with 'miles' in the distanceFilter() function
(3) Fix a type with the $distance variable name in the distanceFilter() function