Well, then you just have to check if(you) {...} and if you remove an entity in its action, just put a return; after the remove.