Fix 'Error: invalid argument - 0.0' error when rrand arguments have range 0 (min == max)