Cloudify 2288 fix events using deployment