diff --git a/src/uncategorized/randomNonindividualEvent.tw b/src/uncategorized/randomNonindividualEvent.tw
index 061ea57d565226260c05f28c1b499043613904dc..6d4e27fd935639b6e5a7e831102392eb0a358c2d 100644
--- a/src/uncategorized/randomNonindividualEvent.tw
+++ b/src/uncategorized/randomNonindividualEvent.tw
@@ -622,20 +622,20 @@
 		<<if $rep > 16000 && ((random(1,100) < $rep/1000) || $cheatMode) && $cash >= 100000>>
 			<<set $recruit.push("forbidden love")>>
 		<</if>>
-		<<if ($rep/400) > random(1,100) || $cheatMode>>
+		<<if (($rep/400) > random(1,100)) || $cheatMode>>
 			<<set $RecETSevent.push("identical pair")>>
 		<</if>>
-		<<if ($rep/400) > random(1,100) || $cheatMode>>
+		<<if (($rep/400) > random(1,100)) || $cheatMode>>
 			<<set $RecETSevent.push("posh mother daughter")>>
 		<</if>>
 		<<if $seeIncest != 0>>
-			<<if ($rep/400) > random(1,100) || $cheatMode>>
+			<<if (($rep/400) > random(1,100)) || $cheatMode>>
 				<<set $RecETSevent.push("incest sister sister")>>
 			<</if>>
-			<<if ($rep/400) > random(1,100) || $cheatMode>>
+			<<if (($rep/400) > random(1,100)) || $cheatMode>>
 				<<set $RecETSevent.push("incest twin sister")>>
 			<</if>>
-			<<if ($rep/400) > random(1,100) || $cheatMode>>
+			<<if (($rep/400) > random(1,100)) || $cheatMode>>
 				<<set $RecETSevent.push("incest mother daughter")>>
 			<</if>>
 		<</if>>