One thing I've noticed in recent macros is situations like:

/castsequence spell1, spell2, spell3
/cast spell4

As I understand it, hitting the button will try to cast spell4 if it can, but if it's on cooldown/etc, then it will do the cast sequence.