Bug fixing : infinite loop when repeated operator + distinguishing operators