Correction in multi attributes combinations loop