Fixes issue with csv importer failing to restore data.