Fixed print stats bug for generation number