Fix 2nd pass bug

There was a bug in the second pass with this.
Some journeys were not able to be compute. This solves it, but I can't really understand why it works.