That's one of RailClone limitations.
if You enable rectangular shape representation on the shape You can see this figure:
Similarly RailClone aligns segments to the spline as well:
There is an option to make stepped segments deform:
But sadly, that won't work for this case: