diff --git a/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw b/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
index a8ee82383dc604b4350942ecebf3113733712865..2b15dff2498a7ff7abf70ca16577a9b68c2cb238 100644
--- a/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
+++ b/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
@@ -114,7 +114,7 @@
 	<<set $arcologies[_i].CyberReputationTarget = Number($arcologies[_i].CyberReputationTarget) || 0>>
 	<<set $arcologies[_i].influenceTarget = Number($arcologies[_i].influenceTarget) || 0>>
 	<<set $arcologies[_i].influenceBonus = Number($arcologies[_i].influenceBonus) || 0>>
-	<<set $arcologies[_i].rival = Number($arcologies[_i].rival) | 0>>
+	<<set $arcologies[_i].rival = Number($arcologies[_i].rival) || 0>>
 <</for>>
 
 You have CHEATED your way to influencing the neighboring arcologies. They have been unscrupulously directed according to your CHEAT whims.
diff --git a/src/uncategorized/slaveSummary.tw b/src/uncategorized/slaveSummary.tw
index 78e8a486f761bc7b66089f07ab8cfb21da2ddc57..5400b64575583170307d5be43f9c22c51af66879 100644
--- a/src/uncategorized/slaveSummary.tw
+++ b/src/uncategorized/slaveSummary.tw
@@ -65,7 +65,7 @@
 		   ($Flag == 0 && s.assignment != "be confined in the cellblock")
 		|| ($Flag == 1 && s.assignment == "be confined in the cellblock")
 		|| ($Flag != 0 && $Flag != 1 && s.ID == $Wardeness.ID))),
-	"Wardeness Select":		  s => (s.assignmentVisible == 1 && s.fuckdoll == 0 && s.devotion > 50 && canWalk(s) & canSee(s)),
+	"Wardeness Select":		  s => (s.assignmentVisible == 1 && s.fuckdoll == 0 && s.devotion > 50 && canWalk(s) && canSee(s)),
 	"Arcade":					s => (s.assignmentVisible == 1 && ($arcade >= $arcadeSlaves || $arcadeUpgradeFuckdolls == 1) && (
 		   ($Flag == 0 && s.assignment != "be confined in the arcade")
 		|| ($Flag != 0 && s.assignment == "be confined in the arcade"))),