fix an importer bug with sql cache running out
upgrade wizard - export old collection - issue 1580.6