Clamp proper class variable
Merge pull request #33 from mrardon/patch-1

Clamp proper class variable