Implement HashFilter#keep