Fixed bug with notifications.