Filtering for trait Hat equal No Hat