diff --git a/src/Filters/_GenericFilter.py b/src/Filters/_GenericFilter.py index 84388e588..8eb5bce7a 100644 --- a/src/Filters/_GenericFilter.py +++ b/src/Filters/_GenericFilter.py @@ -160,7 +160,7 @@ class GenericFilter(object): person = self.find_from_handle(db, handle) if progress: progress.step() - val = all(rule.apply(db, person) for rule in flist) + val = all(rule.apply(db, person) for rule in flist if person) if val != self.invert: final_list.append(data) return final_list