Filtering with boolean

- Added necessary classes for filtering boolean values.