Spline mesh and loops

Thanks for this tip! It works for this case, but if you bend back and forth the same mesh, it does’t work anymore, as the mesh has only one Up Direction.
Isn’t this a bug?