Added check to avoid warning when adding publication using DOI lookup.