Fixed bug due to RNG occassionally giving exactly 1.0