Added a check for maximum_iterations