Spawned actor doesnt equal the parent class

So the spawner spawns an actor from an array

The spawned actors are children of this parent

Inside the character when I interact to pick up the items, I want to play the montage if the item is from that parent class.

This does not work if the collectable child is spawned from the spawner, but if placed by hand it works.