Yes, in this case it's necessary to apply a capping hole modifier to the object.
RailClone doesn't include a capping hole feature, because usually sliced pieces are completed with the start/end segments (for linear generators), or a border enclosing the floor (for arrays).