Changed AND to OR clause to cover both cases.

This fixes not finding all global filters.