Silly me not casting to int for numeric comparison