Railway Sprint (Neokyo) leaderboard shown for the wrong direction

The Railway Sprint seems to have a segment only in one direction, but the leaderboards are shown also when approaching the finish line from the other direction.

this happened to me too.

Same thing for the Yumezi Castle KOM leaderboard, also shown in the downhill direction.

…and the same goes for Rooftop KOM as well.