Adjusted rail segments:in SubDSweep2 doesn't work for same value

RH-59990 is fixed in the latest WIP