Hi. Welcome.
Because last segment location on x axis is not ==1. RailClone starts to place segments from 0 location. But it does not necessarily mean that last segments location=1. And in fact it is not if trusting Default input.
You can change expression to >0.8 and see that this is the case.
To place on the very end You should use End input:
