IntRange, fixed warning in isSingleNumber method