Maybe it would help to allow `notifications` to return duplicates?  The place where that array is consumed can `uniq` it first.