Flow without Twist

I would like to get an L-Bar to flow along a curve to fit the edge of a polysrf. The problem I have is that the flow command is causing the bar to twist. Is there any way to keep the bar from twisting with flow?

Problem Flow.3dm (3.7 MB)

Flow using History record then rotate selected face using shear or rotate

Problem Flow.3dm (243.4 KB)

Hello - it is not twisting, it simply does not know anything about the surfaces, which fall away. If you extrude that edge curve straight across, it matches up more as you expect. the target curve it not planar though and not sitting vertical and the surfaces are not horizontal… so I do not see how you are going to make it line up.