diff --git a/lib/classes/Variables.js b/lib/classes/Variables.js
index <HASH>..<HASH> 100644
--- a/lib/classes/Variables.js
+++ b/lib/classes/Variables.js
@@ -828,10 +828,10 @@ class Variables {
   }
 
   getValueToBool(variableString) {
-    if (/^true$/.test(variableString)) {
+    if (/^toBool:true$/.test(variableString)) {
       return BbPromise.resolve(true);
     }
-    else if (/^false$/.test(variableString)) {
+    else if (/^toBool:false$/.test(variableString)) {
       return BbPromise.resolve(false);
     }
     return BbPromise.resolve(true);
Bug fix in toBool casting