having devices which prevent back-flow of the ion-exchange mass during regenerating