handle unknown location inputs in queryTrips