handle min > max in randInt