What am I doing wrong? i wish to create Curve.EndPoints on a list of curves without loosing the hierarchy or the empty lists. Based on the picture and the list of Curves, it should look like:
0 Empty List
1 Empty List
2 Empty List
3 Empty List
4 Empty List
5 List