MQ2Bot Enchanter

I've been using bot40 for years and everything works really well except for mez refresh. I was taking a look at the code and noticed on line 8159

:refreshmez
|** Broken Code **|
|/if (${Spawn[${MezMobID}].Type.Equal[corpse]}) {
| /call Debug 3 "Leaving Sub Mez - MezMobID (${MezMobID}) is a corpse - not even sure you should see this because it looks like dead code."
| /return
|}

I was wondering if anyone had made progress or any ideas on what introduced these new issues.