How to select ids from specific schema on dynamic components?

This is what I’m using to clear the ids:

blocks (6)

And I found those blocks on the main thread of the extension and even tried something similar before by filtering the schema’s name on schemacreated. It’s not an option because that value is only available after all components/ids have been created.