diff --git a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
index 8ed3ce2ca00e9c057d29edbe15629f4828f6a0c0..3405ab4b97e1d48b0d4a2e12ae655dda4a87fb09 100644
--- a/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
+++ b/src/cheats/mod_EditSlaveCheatDatatypeCleanupNew.tw
@@ -104,11 +104,11 @@
 	<<set $tempSlave.amp = 1>>
 <</if>>
 */
-<<if hasAnyNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>>
+<<if hasAllNaturalLimbs($tempSlave) && ($tempSlave.PLimb > 0)>>
 	<<print "Slave has normal limbs, limb interface reset to 0 (no interface)">><br>
 	<<set $tempSlave.PLimb = 0>>
 <</if>>
-<<if ($tempSlave.PLimb == 0) && hasAnyProstheticLimbs($tempSlave)>>
+<<if ($tempSlave.PLimb == 0) && hasAllProstheticLimbs($tempSlave)>>
 	<<print "Slave has no prosthetic limb interface, remove all limbs">>
 	<<run removeLimbs($tempSlave, "all")>>
 <</if>>