Fixed bug on massive publish

On callback afterMassivePublish