A fix in NewtonSolver.