Measuring Traffic , Bronze

https://usaco.org/index.php?page=viewproblem2&cpid=917
Hi guys, in test case 4 of this problem
16
off 2 2
on 0 2
on 2 2
off 0 0
on 0 0
on 1 1
none 478 535
on 1 1
off 0 1
on 2 2
on 0 0
none 487 538
none 487 528
off 1 3
none 474 530
off 2 2

and the expected answer is

481 525
482 525

But the segment right before the off ramp is a road with 474 530. So why isnt the answer for the last one 472 528 ?