Fixed a subtle bug where duplicate metadata would clobber itself in a download. ...Also adding references to download, but cannot test locally (easily)...