You need to plug in the Is Valid node so it executes Go from OnSeePawn โ Is Valid โ CastToMainPlayer.
What I mean is that you can just plug in Leader to Target Actor and disconnect Location. Or vice-versa. The AI will move to either a specific location or the location of a target actor. Right now you are providing both. Disconnect one and see!