How to handle and compare string characters?

I’m trying to use the name of actors of a class to determine whether they have a certain property that I’m interested in, and if not, remove them from an array so that I can randomly spawn actors with the properties I want. When I do so, even when I compare the name to a character that is not in any name, like “z”, it still manages to find an actor from the list to spawn. The list should be empty, yet it still manages to spawn random actors. I provided a snippet of code below for reference, it should be clear but if clarification is needed, let me know. Thanks!

can you show a bit more of your code?
I

Of course! Is there something in particular you’re looking for? I have a lot of code in this BP…

of the spawning or what you do on completed

Does this help?