make it possible to search for false/true

closes #1788