diff --git a/gramps/gen/filters/rules/person/_relationshippathbetween.py b/gramps/gen/filters/rules/person/_relationshippathbetween.py index dbd6c2d04..11ab408bf 100644 --- a/gramps/gen/filters/rules/person/_relationshippathbetween.py +++ b/gramps/gen/filters/rules/person/_relationshippathbetween.py @@ -75,6 +75,8 @@ class RelationshipPathBetween(Rule): self.desc_list(child_ref.ref, map, 0) def apply_filter(self, rank, handle, plist, pmap): + if not handle: + return person = self.db.get_person_from_handle(handle) if person is None: return