Fix to process DOIs correctly

Fixes #77