Handle number out of range case