Spline branch loop issue

As the title says a have spline issue, the branch function photo shows that i set it to return to the middle but for some reason the left side is not returning and when i increase the generation is looping from there, how to fix it ?