Fixing notification events allowed in pubsub client