bool_and and bool_or aggregations