Project to surface is supposed to go Right but it's actually going left. Not sure why?

I created a template with logic to display different slopes in cut and fill from curb and gutter. I am using components rather than end conditions as shown below

It works for the most part, but at some point, I actually get what is shown below. Rather than sloping upward or to the right, it solves to the left and down. I am not sure why.

The fact that is sloping down does not allow my logic to work. 

Has anyone come across something similar with "project surface" tool and been able to find the cause?

thanks,

Felix