Fixed a minor bug in the export wizard.