Fixed stack overflow in toString method.