Fix duplicated notifications.