Added support for filtering using fields with boolean values.