How can I clamp the axis input from 'dragging' out of range?

Wow, I feel daft. I was literally putting the clamp in the wrong place. Thank you!