diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py
index eca43ed49256c370cb075446e86490b6979b3225..5ae04331901bf702d9e683282cd5ec95d76826ba 100644
--- a/src/linkahead/common/models.py
+++ b/src/linkahead/common/models.py
@@ -5563,7 +5563,7 @@ def _filter_entity_list(listobject, entity: Optional[Entity] = None, pid: Union[
                 if candidate._wrapped_entity is not None:
                     original_candidate = candidate
                     candidate = candidate._wrapped_entity
-            except:
+            except AttributeError:
                 pass
 
         # Check whether name/pid match