fix --track-via <stop> not matching trains changing their ID at <stop>