A fix for sometimes randomBoolean(0) returning true