Fixed bug where onClose was being called on a notification that had already been removed