Fix clamped ramps bug.

It was failing when the clamped load happened in a let expr.