diff --git a/src/pregmod/birthStorm.tw b/src/pregmod/birthStorm.tw
index 11624a4127533daef834bb56dcfc14513c219c17..25f1261f54f1ead702d4481977cae28b5f587c0e 100644
--- a/src/pregmod/birthStorm.tw
+++ b/src/pregmod/birthStorm.tw
@@ -43,7 +43,7 @@ The remote surgery allows the removal of the pregnancy generator through convent
 	<<set $activeSlave.devotion += 4>>
 <</if>>
 
-<<if $slaves[$i].birthsTat > -1>>
+<<if $activeSlave.birthsTat > -1>>
 	<<set $activeSlave.birthsTat++>>
 	The temporary tattoo of a child has been replaced with $his <<= ordinalSuffix($activeSlave.birthsTat)>> permanent infant.
 	<<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>>