I've played around with it a bit, and I see what you mean

You need to insert the following bit of code:
CODE
if ($game_party.actors[@actor_id].dead? and @dead == false)
or ($game_party.actors[@actor_id].dead? == false) and @dead == true
refresh
end
So that
becomes
And that should help fix the reviving issue