Take notification type into account when marking as read