How do you know it was a nurb?
Did the button click sequence cause this?
Converting it from what to what?
What result?
Sounds more like a failure of sequence, and maybe misinterpretation of geometric compositions.
I’m still not clear what Rhino thinks is a nurb, or if any Rhino lines or curves or polies, no matter degree from 1 to 11 ever aren’t nurb, cause I think Rhino’s curves are all nurbs … 
Or is it polycurve? Or what’s it called when you have polylines joined with polycurves?

Not to mention degree 1’s joined with degree 2’s etc.
I don’t see an issue with these combinations giving Rhino any trouble, I think probably the issue is the sequence of command initiation to button clicks, including entity selection order to command initiation to button clicks and visa versa.
I’m like 97% sure they’re all nurbs curves/lines, but I’m interested ‘academically’ too if I’m wrong.
I’m personally not a fan of ‘sweep’ commands. Generally I would create more curves and probably extrude straight stuff and network other stuff.
Sweeping usually, imo, is a shortcut approach, and I’m not a fan of skipping steps.
But when I sweep1 your geometry, I get same easy result looks like @pascal got…
Although, it looks kinda dirty like things are intersecting or something


Yeah not good…
This is a good example though, of why I’m not a fan of sweeping…
Sweeping is like cheating, and cheating gets bad results – imo.
You might have to sweep part of the profile instead of the whole thing to get slightly better results, then use other methods to create those other surfaces that get all twisted from cheating 
Too bad Rhino doesn’t automatically trim stuff that’s all folded on itself 
Yeah, ‘sweep1’ needs some work:
Where’s that ‘real’ AI when u need it…
So you can see here, when you don’t create all the geometry manually, and you expect Rhino to figure it out automatically, Rhino doesn’t know how to match your profile curves around your rail in a manner where the profile curves have to change shape to follow your rail or vice versa:
To get better results, you’ll need to explicate what the full and concise design intent will be, otherwise you’ll just end up with these random anomalies that manifest deterministically from the nature of Rhino happenstances.