handle unknown location inputs in queryTrips
reuse context for queryMoreTrips
tab-indent and removed some debug leftovers