How to make AI Perception prefer one character over the other when both perceived

This is my AI controller:

This was setup when I only had one character to be sensed by the AI. I have two characters now that the AI can sense and attack. However, when both characters are being perceived at the same time the AI flips out and does not know what to do because the enemy key in the blueprint feeds a behavior tree attached to the AI.

Is there a, ‘if multiple characters being perceived, give character A precedence over all characters’ node? I want the AI to set the enemy key regardless if it is character A or character B, but I want character A to take precedence when it is being perceived.