firstly use an interface not a blackboard value
so in your EQS query you get all actors, then test against the interface but i’d use a threat value instead of is dead.
So if theyre dead you can multiple threat by 0 and they wont be considered but this also allows you to check distance, health percent etc to find the best target