Added location query to search for endpoint proximity