There can be many unread notifications. We want to keep the complexity lineal.
Performance optimization to save loops