diff --git a/plugins/catalog-backend/src/next/NextEntitiesCatalog.ts b/plugins/catalog-backend/src/next/NextEntitiesCatalog.ts index f8c244cbfd..14fda4ea24 100644 --- a/plugins/catalog-backend/src/next/NextEntitiesCatalog.ts +++ b/plugins/catalog-backend/src/next/NextEntitiesCatalog.ts @@ -189,6 +189,7 @@ export class NextEntitiesCatalog implements EntitiesCatalog { current = todo.pop() ) { const currentRef = stringifyEntityRef(current); + seenEntityRefs.add(currentRef); const parentRows = await this.database( 'refresh_state_references',