Fix multi event publishing.