Add support for true-false values in queries