Use a range pattern match instead of a manual range-check