Bug - macro targeting

When using macros like
If ally(1) has <2 living enemies cast wormhole on that creature. Nothing happens when there is 1 enemy alive on the field. Seems to happen across all macros of that sort (if ally(x) has <>y living/dead allies/enemies cast (spell) on that creature)

Yeah, I need to double check, but I didn’t think my creature was casting Timewalk on my own creature when I had it set to cast it if said creature was provoking.

Actually, I think maybe it was because I forgot to equip Timewalk, I can’t remember so I definitely need to check again, haha.