Patchy and Flipped Sweep Issues

Not sure what the benefit of this approach would be over an extrusion / fillet approach…

Anyway, I’d try to at least put the section on the rail…

If you can’t get it to work, as always, post a file with the relevant geometries.

Or, forget about the fillets and use SubD: