Previously experienced issues on routes where services operate in both directions. The query picked up not just paths where service goes from Origin -> Destination, but trips going Destination -> Origin, and shown bogus results. Ensure that this doesn't happen by requiring the origin station's stop_sequence value to be lower than the destination station.