A proper fix from James H for the negative number issue: the