Specialize LogicalOrNode::filter().