Remix Call of the Legion minions attacking out of combat enemies

Been noticing an issue the last few days, especially in dungeons, where my Call of the Legion minions will attack mobs that I am not in combat with if they are casting spells as the last mob I am in combat with has died. This also sometimes happens if I immediately target another out-of-combat mob but before I have actually engaged it.