Correctly set generation number when resetting a Generation for reuse.