How does AI know if they killed a Enemy

Hello everyone! When My AI kills a enemy I want it to stop chasing that enemy since it is dead. So I first do a check to determine if the Enemy has a tag that says dead is true then the AI will lose sight. That works! But here is where the problem comes… Once the AI kills a enemy another enemy comes up to the AI and the AI will do nothing and the perception update will not do anything either. I have no clue how to do this. Here is what I did.

Please I really need help :frowning: