It’s selecting multiple horizontal rows of internal edges, then pulling them to the rectangular boundary?
If you don’t want these internal edges to be selected, then you could Combine&Clean the mesh after welding, but I still don’t understand what this grouping and joining is for.
Ah, I see.
In the example in the post you just linked, there was a more complex set of curves as the target border, and a polygonal starting mesh boundary, and that part joining selections of the naked edges was there to control which edges got pulled to which curves.
In your file though, it looks like the target curve is a simple rectangle, so this isn’t needed - you could instead just make a rectangular mesh of regular triangles and pull all the naked points to the target boundary (or indeed just scale them without Kangaroo). Is the rectangle the actual curve you want to use, or just an example here?