Fixing a bug that caused importing not to work with some exported files.