GH bug in R6?

I have the attached definition that works in R5, but the Region difference is giving me an error in R6. This definition used to work in R6 until the latest update. Any suggestions? See screenshots below, and files attached.

Any idea’s @DavidRutten

Thanks (30.4 KB)
R5_Curve To ParaFlat.3dm (26.4 KB)