The random number could never be less than `$probability`, you can change the comparison operator to `===`.