Uniquely Identify Actors in Blueprint

It likely depends on order of actor being spawned since the Object Names will be sequential like BP_Class1, BP_Class2, BP_Class3, etc… It has some randomness that might not be reliable.

You should try using Tags on Actors you want to identify, which can be checked using ActorHasTag