Correct bug in extraction loop (code from Miguel)
Manually remove extra populations and CT