Fix bugs in notification coordinator dedup logic