Bug fix for notifications.