Error when viewing contact merged to permanently deleted contact
An error appears if you try to view a contact which has been merged to another contact which subsequently got permanently deleted.
To reproduce:
- Create first contact
- Create second contact
- Merge 2nd contact into 1st contact
- Permanently delete 1st contact
- View 2nd contact
Result: Error is printed: "Expected one ActivityContact but found 0". User cannot view contact.
Expect: Be able to view the 2nd contact, which is in the trash, but not permanently deleted.