Destroy not working

I have 8 actors, these actors move from top of the screen towards the bottom of the screen. (We'll call these actors "A").
On the bottom of the screen I have another 8 static actors. (We'll call these actors "B").
When any of the A actors collide with any of the B actors, both actors are destroyed. This works fine.
However, if 4 A actors collide with 4 B actors AT THE SAME TIME, then sometimes not all B actors are destroyed. This only happens when 4 or more A actors collide with 4 or more B actors AT THE SAME TIME, otherwise it works fine.
Any ideas?
On the bottom of the screen I have another 8 static actors. (We'll call these actors "B").
When any of the A actors collide with any of the B actors, both actors are destroyed. This works fine.
However, if 4 A actors collide with 4 B actors AT THE SAME TIME, then sometimes not all B actors are destroyed. This only happens when 4 or more A actors collide with 4 or more B actors AT THE SAME TIME, otherwise it works fine.
Any ideas?
Comments
For actors A, I have:
Actor receives event - overlaps or collides - with - actor of type actor B
DESTROY
Change game.life to game.life-1
For actors B, I have:
Actor receives event - overlaps or collides - with - actor of type actor A
DESTROY
SPAWN ACTOR (this is just an explosion which occurs after destroy)
Actors A are setup to fall from the sky at random times, and speeds. Minimum speed is 50, maximum speed is 70. (Fairly slow).
It does seem like it's not registering but I am no expert.