Fixed logic error in checking for cryptographically strong PRNG in IV generation