Fixed DOI saving problem introduced in last commit