Issue #1182: Fixed broken pedigree when a childless relationship is given a child whoss generation <= generation(relationship)