Fix bulk delete code
Merge pull request #1483 from ORCID/bulkDelFixes

Fix bulk delete code