you can also put command

/clearabilityqueue, or its short version
/cl

on very top of your macro so that on each press it clears a queued spell