PIM-3266: do not flush skipped items during an import