Only cast while in combat

I can’t seem to get these lines to work.

/cast [combat][nochanneling] Bestial Wrath',
/cast [combat][target=focus, exists, nodead],[target=pet, exists, nodead] Misdirection

Its a snippet from my whole macro, but it still seems to cast both of these out of combat.

any suggestions?