Fixed acm_export (missing increment), and removed doublons from exported links.