Fixed issue where clicking too many times on import created an error