That’s a common issue with surfaces that aren’t aren’t split at their tangents.
If the surface was originally made in Grasshopper, you’d extrude the curve segments before joining them.
In Rhino, you can run DivideAlongCreases with SplitAtTangents=Yes on the surface, and then use the brep as input in Grasshopper: