Fix issues with logic on condition negation and handling multiple boolean fields with an ALL condition.