If there is an error invalidating a generation, make sure to use a new generational value based on a timestamp, and not just re-start from 1 (to ensure that the generation is actually different).