Fixed marking of notifications as read