Fix off-by-one error in selecting generation to collect.
Fix off-by-one error in selecting generation to collect.

parrot/parrot,parrot/parrot,gitster/parrot,tkob/parrot,tkob/parrot,gitster/parrot,parrot/parrot,youprofit/parrot,tkob/parrot,gagern/parrot,FROGGS/parrot,gagern/parrot,FROGGS/parrot,youprofit/parrot,FROGGS/parrot,FROGGS/parrot,gitster/parrot,youprofit/parrot,youprofit/parrot,FROGGS/parrot,tkob/parrot,FROGGS/parrot,FROGGS/parrot,gagern/parrot,FROGGS/parrot,parrot/parrot,gagern/parrot,gitster/parrot,tkob/parrot,youprofit/parrot,youprofit/parrot,gitster/parrot,youprofit/parrot,gagern/parrot,tkob/parrot,gagern/parrot,gitster/parrot,tkob/parrot,parrot/parrot,youprofit/parrot,gitster/parrot,gagern/parrot,tkob/parrot