Flip mesh for offset

Hey guys,
I would like to offset these curves/ lofts to the inside, but when I use the component offset mesh the offset is not always on the inside. How can I flip the mesh/ curve so that every offset goes inside?

Flip Mesh for Offset.3dm (195.5 KB)
Flip Mesh for Offset.gh (25.6 KB)