Bad event clubbed together with good events in bad s3 bucket

During enrichment process, some of the good events are clubbed with a bad event. When we decode and look into the bad bucket data then we find the good events are also clubbed with a bad event. This problem is also been seen after decoding the bad event from kibana.
Is there any solution by which we can get only single bad events in bad s3 bucket ?

Please help on this.

This has been discussed recently, in this thread: