Error correction: checking operator after invert.