Filtering for trait Hats equal Detective hat