Fixed notices in includes/notifications.php (Thanks, Nilesh)