Enemy with Lowest Health Macro Bug

I am attempting to use the macro “If any enemy has lowest Health, case Magic Missile on that creature.” This results in Magic Missile being cast on enemies that have died and are no longer in the battle, meaning that the spell is essentially doing nothing.

Thanks, fixed for the next patch!