Rhino Edge Analysis Issue: Split Curves and Unexpected Points

I have surfaces in rhino. I basically want to get the start and end point of all its edges. But whenever i do it, some edges are split into two curves instead of it being one and I get this weird point in the middle which i dont want. make sure it works on all the surfaces in the rhino file.

here is my definition with the surface internalized.
grasshopper.gh (12.4 KB)

Hi @Herft_Shandon,

Your Brep does have 6 edges - use Rhino’s What command to review.

Edge Tally:
      6 boundary edges

– Dale

how do i get it to just be 5 within grasshopper itself?

shatter it into its discontinuity parameters.
discontinuity.gh (12.8 KB)