Fix nested for issues in toString