If you find yourself rolling dice to figure out if something is in a set or not, you may want to step back and look at how you track membership and identity things.
Determinism (testability) is such a wonderful thing. Sure, you can make these filters appear deterministic in controlled setting (i.e. a recorded log of system inputs), but there's no way you could tell me how the execution would flow in a real world situation with live data wherein you cannot anticipate future events.