fix equals check by comparing the same types (Work vs OrcidWork)
Merge pull request #343 from ORCID/dev-fixWorkDelete

fix equals check by comparing the same types (Work vs OrcidWork)