diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 86a281b1fd9b972178f0faf59a028dd49bd5d8da..db17eac30758b134042832fdee22a5d81e68cd97 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -1599,6 +1599,7 @@ class _Properties(list): if isinstance(prop, Entity): if prop in self: list.remove(self, prop) + return else: if prop.id is not None: # by id