Fixed problem where works PUT does not update works if there are no
existing activities.
Merge pull request #1060 from ORCID/fixWorksPutWhenNoExistingActivities

Fixed problem where works PUT does not update works if there are no existing activities.