Correct some DocIDSetIterators bound logic