AI avoid dead AI

So I tried making an Top Down Shooter and the spawned AI moves to me. This works perfect. Everytime I kill the AI it plays their death animation and their capsule component get deleted, so I can run through their corpses. The AI on the other Hand still avoid the dead AI till they despawn. I dont know how to fix this.

The skeletal mesh of the dead body is probably a ragdoll which is a physics asset and I think that still is a blocker on the Nav Mesh. Try messing around with the Collision settings on the skeletal mesh so that the nav mesh ignores that.