added TrueClass and FalseClass support on queries