Added min/ max checking to int + double randoms.