diff --git a/modules/mol/base/src/impl/query_impl.cc b/modules/mol/base/src/impl/query_impl.cc
index 312b38d6db7e483d0e419c2991919e1189997e1f..d90ded27a50d2955fde5002b2dfd27b447f8f5f8 100644
--- a/modules/mol/base/src/impl/query_impl.cc
+++ b/modules/mol/base/src/impl/query_impl.cc
@@ -427,10 +427,12 @@ bool QueryImpl::ParseValue(const Prop& sel, const QueryToken& op,
       if (sel.type==Prop::INT) {
         // todo. Add check to test that the comparison operator is only one of
         // = and !=. The others don't make too much sense.
-        if (value_string=="true") {
+        if (value_string=="true" || value_string=="True" || 
+            value_string=="TRUE") {
           value=ParamType(int(1));
           break;
-        } else if (value_string=="false") {   
+        } else if (value_string=="false" || value_string=="False" || 
+                   value_string=="FALSE") {   
           value=ParamType(int(0));
           break;
         }