Fixed bug in convergence check with complex arguments.