Filtering for trait Head equal Atom Cap