[PubSub] Bug fix.