Best way to filter contacts to avoid those associated with active deals?

This worked really well, thank you!