combining macro mend pet doesn't work need help

I am using parts of 2 different macros and everything seems to work ok but in this circumstance my Mend Pet does not fire off. I believe this is a combination of Zole and pups macros. Any ideas why Mend Pet isn’t firing off? Thanks to all those who write these great macros.

Sequences[‘BM-Dps’] = {
specID = 253,
author = “Zole”,
helpTxt = “Dps Single - Talent: 3112133”,
StepFunction = GSStaticPriority,
PreMacro = [[
/cast [nopet,nodead]Call Pet 4;[@pet,dead]Heart of the Phoenix
/targetenemy [noharm][dead]
/startattack
/petattack [@target,harm]
/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection
/cancelaura Volley
/petautocastoff [group] Growl
/petautocaston [nogroup] Growl
]],
“/cast !Kill Command”,
“/cast Dire Beast”,
“/cast Cobra Shot”,
“/cast !Kill Command”,
PostMacro = [[
/cast Mend Pet
/cast [combat]Blood Fury
/cast Aspect of the Wild
/use [combat]13
/use [combat]14
]],
}

Sequences[‘BM-Aoe’] = {
specID = 253,
author = “Zole”,
helpTxt = “AoE Dps - Talent: 3112133”,
StepFunction = GSStaticPriority,
PreMacro = [[
/cast [nopet,nodead]Call Pet 4;[@pet,dead]Heart of the Phoenix
/targetenemy [noharm][dead]
/cast !Volley
/startattack
/petattack [@target,harm]
/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection
/petautocastoff [group] Growl
/petautocaston [nogroup] Growl
]],
“/cast !Kill Command”,
“/cast Dire Beast”,
“/cast Multi-Shot”,
“/cast !Kill Command”,
PostMacro = [[
/cast Mend Pet
/cast [combat]Blood Fury
/cast Aspect of the Wild
/use [combat]13
/use [combat]14
]],
}

Remove:
/cast [target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection

and add, this line, below PostMacro = [[
/cast Mend Pet

Cant get it to work with them both, atm.