Target closest enemy macro not working any more?

Just returned from being away for about a year. My target closest enemy macro doesn’t work any longer.

/cleartarget
/targetenemy (Always targets closest enemy if no target)

Either command works alone in a macro, but not both of them. Targetenemy works, but the cleartarget doesn’t when both are in the macro.

I’m not buying Dragonflight until this is fixed.