Macro to fix totemic projection bug?

Hi guys, I have this macro which intends to place skyfury totem and then totemic project it to my cursor location.
#showtooltip Skyfury Totem
/cast Skyfury Totem
/cast [@cursor] Totemic Projection
This macro works about half the time, but often it bugs especially if any other totems are down, casting totemic projection first and then dropping skyfury at my feet. Any fixes where it can stay as 1 button instead of 2? I was thinking a macro that checks if skyfury totem exists and only casts totemic projection if that is true, but I’m not sure.

Thank you

You can either make it a castsequence or a modifier macro.