fixes #7109 handle trashed contacts