Bug fix for intergenerational_sex_data in GraphsAndData