MULE-6990: OOM exception using foreach

_ Adding a filter into the MP pipeline to avoid storing the result of each part's processing