Fix to allow repeated items when allowedDuplicates is on

This fix want subtract the already used choices.