diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index c6dfd06274c21c7c0ce794b934ad7d0ad867a54d..02bd6ac2b0fe242a1cecc1e0f1bf43ae892c216e 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -443,10 +443,11 @@ class IdentifiableAdapter(metaclass=ABCMeta): return False if register_identifiable.get_property("is_referenced_by").value is None: return False - appropriate_types = [ - el.lower() - for el in register_identifiable.get_property("is_referenced_by").value - ] + + appropriate_types = [] + appropriate_types.extend(get_children_of_rt( + register_identifiable.get_property("is_referenced_by").value)) + appropriate_types = [el.lower() for el in appropriate_types] if "*" in appropriate_types: return True for parent in parents: