Boolean filtering