chop one query by caching the exclusions (bug 869715)