Found an incorrect flag related to generations. Ref #785