Fixed a bug in link generation for the export field