Why Sweep2 perform like this ...?

As the image shown below, the Sweep2 result went totally opposite direct as the rail goes.
Any idea about this?

Sweep2.gh (11.6 KB)

Hello.

You need to connect to Start.

Hummm okay…