Fix sync of deleted notifications.

Jira issue: wp-1196