BUG: allow single element bool queries
Merge pull request #6163 from cpcloud/query-single-element-booleans-6148

BUG: allow single element bool queries