This assumes, incorrectly, that each generation of children are birthed into a new separate pocket-universe, where absolutely nothing prior generations do next--including suddenly dying--can ever affect their own trajectories.
Consider genes Alpha and Beta, where Alpha kills women right after menopause, and the Beta lets them live ably to 120. Do you really think there's no difference between the trajectories of clan Alpha and clan Beta?
Or perhaps a Cronus gene [0] which increases fitness and lifespan but causes paranoid infanticide. Just because a gene-copy was made doesn't mean the gene stops mattering.