References #2579: Added support for filtering boolean columns.

(cherry picked from commit 3e40a6a27d7d73da40f70921ffb19214556d3d46)