I'm not much help....I don't use that macro, but many stealth moves, where you had to toggle autoattack off while stealthing, in order to keep from blowing your next move, have been modified to automatically quit when you do the stealth move.
Could you be turning it back on via macro after the move auto ends it?