Fixed pending_notifications