Fixing bug in event subscription action code.