diff --git a/src/utility/extendedFamilyWidgets.tw b/src/utility/extendedFamilyWidgets.tw
index 79da328595fd9317f5d4643cee654ac15edffaf9..46e24812093114564c6b48e660ae6b2d8f21ff7b 100644
--- a/src/utility/extendedFamilyWidgets.tw
+++ b/src/utility/extendedFamilyWidgets.tw
@@ -122,21 +122,18 @@
 <<set _pcMother = $slaveIndices[$PC.mother]>>
 <<set _pcFather = $slaveIndices[$PC.father]>>
 <<if def _pcMother>>
-	<<if def _pcFather>>
-		<<if _pcMother == _pcFather>>
-			<<if $activeSlave.ID == $slaves[_pcMother].mother && $activeSlave.ID == $slaves[_pcFather].father>>
-				$He is @@.lightgreen;your sole grandparent.@@ $He impregnated $himself with your mother/father who in turn impregnated themselves with you.
-			<<elseif $activeSlave.ID == $slaves[_pcMother].mother>>
-				$He is @@.lightgreen;your sole grandmother.@@ $He gave birth to $slaves[_pcMother].slaveName who in turn impregnated themselves with you.
-			<<elseif $activeSlave.ID == $slaves[_pcFather].father>>
-				$He is @@.lightgreen;your sole grandfather.@@ $He fathered $slaves[_pcFather].slaveName who in turn impregnated themselves with you.
-			<</if>>
-		<<else>>
-			<<if $activeSlave.ID == $slaves[_pcMother].mother && $activeSlave.ID == $slaves[_pcFather].mother>>
-				$He is @@.lightgreen;your sole grandmother.@@ $He gave birth to both $slaves[_pcMother].slaveName and $slaves[_pcFather].slaveName.
-			<<elseif $activeSlave.ID == $slaves[_pcMother].father && $activeSlave.ID == $slaves[_pcFather].father>>
-				$He is @@.lightgreen;your sole grandfather.@@ $He fathered both $slaves[_pcFather].slaveName and $slaves[_pcMother].slaveName.
-			<</if>>
+	<<if def _pcFather && _pcMother == _pcFather>>
+		<<if $activeSlave.ID == $slaves[_pcMother].mother && $activeSlave.ID == $slaves[_pcFather].father>>
+			$He is @@.lightgreen;your sole grandparent.@@ $He impregnated $himself with your mother/father who in turn impregnated themselves with you.
+		<<elseif $activeSlave.ID == $slaves[_pcMother].mother>>
+			$He is @@.lightgreen;your sole grandmother.@@ $He gave birth to $slaves[_pcMother].slaveName who in turn impregnated themselves with you.
+		<<elseif $activeSlave.ID == $slaves[_pcFather].father>>
+			$He is @@.lightgreen;your sole grandfather.@@ $He fathered $slaves[_pcFather].slaveName who in turn impregnated themselves with you.
+		<</if>>
+	<<elseif def _pcFather && $activeSlave.ID == $slaves[_pcMother].mother && $activeSlave.ID == $slaves[_pcFather].mother>>
+		$He is @@.lightgreen;your sole grandmother.@@ $He gave birth to both of your parents, $slaves[_pcMother].slaveName and $slaves[_pcFather].slaveName.
+	<<elseif def _pcFather && $activeSlave.ID == $slaves[_pcMother].father && $activeSlave.ID == $slaves[_pcFather].father>>
+		$He is @@.lightgreen;your sole grandfather.@@ $He fathered both of your parents, $slaves[_pcFather].slaveName and $slaves[_pcMother].slaveName.
 	<<elseif $activeSlave.ID == $slaves[_pcMother].mother>>
 		$He is @@.lightgreen;your maternal grandmother.@@
 	<<elseif $activeSlave.ID == $slaves[_pcMother].father>>