Fixing two issues when searching for duplictes
Merge pull request #560 from ORCID/dev-DontAddDuplicatedWorks

Fixing two issues when searching for duplictes