Fix: proper detection of contact delete/restore to/from trash