Map Curves flips curves

Hello, I’m working on trying to get some curves projected from a flat set of rectangles to a set arranged around a curve. I’ve been using Map Curves to do this and it’s having mixed results and I’m not sure why. The pattern is separated into branches - one branch for each rectangle it’s hosted in.

The first instance seems to be working fine – the pattern looks the same as it does flat:

However, when doing the second set (which seems to have no difference in the data structure), each projection is flipped within its rectangle. As far as I know, I’ve done the same thing for both, but I’m not entirely sure why it’s flipping the result. I could manually flip the geometry in each rectangle after it’s been mapped, but I’d like to know why this is happening:

Please see the file below for the geometry in question and thanks for your help!
mapping curves issue.gh (33.7 KB)