diff --git a/src/caoscrawler/sync_node.py b/src/caoscrawler/sync_node.py
index d912d6465a68270411c121f65b4c5a828c9c667e..46187c0d63afd6c18de6dd1df3304f13badb1899 100644
--- a/src/caoscrawler/sync_node.py
+++ b/src/caoscrawler/sync_node.py
@@ -256,9 +256,9 @@ class SyncNode(db.Entity):
 
 def parent_in_list(parent: Parent, plist: ParentList) -> bool:
     """helper function that checks whether a parent with the same name or ID is in the plist"""
-    return plist.filter(parent)
+    return plist.filter_by_identity(parent)
 
 
 def property_in_list(prop: db.Property, plist: PropertyList) -> bool:
     """helper function that checks whether a property with the same name or ID is in the plist"""
-    return plist.filter(prop)
+    return plist.filter_by_identity(prop)