Test and implement logical operations in task filters.