Fixed recent bug in the run_import