Fixing notifications_plus class check

Notifications_plus was not checking correctly the class of already
processed notifications, causing a recursion with the new code.