Fix issue where DOI registrations are attempted prior to blackout or archive

Bug introduced in #730