diff --git a/gramps/gen/proxy/proxybase.py b/gramps/gen/proxy/proxybase.py index 3d703b58e..681b408e1 100644 --- a/gramps/gen/proxy/proxybase.py +++ b/gramps/gen/proxy/proxybase.py @@ -384,7 +384,7 @@ class ProxyDbBase(DbReadBase): @staticmethod def __iter_object(selector, method): """ Helper function to return an iterator over an object class """ - return filter(lambda obj: (selector is None or list(selector(obj.handle))), + return filter(lambda obj: ((selector is None) or selector(obj.handle)), method()) def iter_people(self):