Remove deleted ids from both incoming and own on sync.