collectord: fixing 'clean' and 'migrate'.