Ensure that genRand is not null