Fix handling of DOI case handling