diff --git a/src/descriptions/familySummaries.js b/src/descriptions/familySummaries.js index 6b82150d8d88a0465cb8679dedb6faa3c8e2789d..21128b7810340587353c0cc9b1ac9f3d03a7ac1c 100644 --- a/src/descriptions/familySummaries.js +++ b/src/descriptions/familySummaries.js @@ -226,7 +226,7 @@ App.Desc.family = (function() { /* PC aunt and uncle - determines how many aunts and uncles you have */ if (isAunt(V.PC, slave)) { - const {m: uncles, f: aunts} = splitBySex(V.slaves.filter((s) => isAunt(V.PC, s))); + const {m: uncles, f: aunts} = splitBySex(V.slaves.filter((s) => s.ID !== slave.ID && isAunt(V.PC, s))); r.push(`${He} is`); if (slave.genes === "XX") { @@ -270,7 +270,7 @@ App.Desc.family = (function() { /* PC niece and nephew - determines how many nieces and nephews you have*/ if (isAunt(slave, V.PC)) { - const {m: nephews, f: nieces} = splitBySex(V.slaves.filter((s) => isAunt(s, V.PC))); + const {m: nephews, f: nieces} = splitBySex(V.slaves.filter((s) => s.ID !== slave.ID && isAunt(s, V.PC))); r.push(`${He} is`); if (slave.genes === "XX") {