Replacing repetitions/allow by repetitions/filter