Quota algorithm now won't duplicate input