Whirlstorm killing my own creatures

Windows 10, Siralim v0.4.3. Sometimes whirlstorm damages my creatures instead of my enemies. There doesn’t seem to be much pattern to it; it’s not tied to a particular type of enemy or trait. Attached is the history log of such an occasion. No explanation, it just starts killing my dudes :confused:

On further playthrough, it seems like enemies turning invisible from the attack might be what causes Whirlstorm to start team-killing

Thanks, I think I might have found the problem.