Fixed incorrect compareTo for affiliation relation entity that was
causing over-deduplication when used in sorted set.
Merge pull request #763 from ORCID/fixAffiliationOverDeduplication

Fixed incorrect compareTo for affiliation relation entity that was causing over-deduplication when used in sorted set.