You can use IGNORE_FLAG1 to ignore all models with flag1 set.