Go to the BP_SmartAIComponent then open the CheckFleeAlert function and on the SphereOverlapActors node set the ActorClassFilter input to the BP_MasterAICharacter.
Then open the AlertDefenders function and on the SphereOverlapActors node set the ActorClassFilter input to the BP_MasterAICharacter.