Question for the OP. Did you have scanner equipped? That attachment usually makes it so the automaton checks resist rates of a spell before it decides to cast it.