PDI-8195 - incorrect step Synchronize After Merge metrics

What was done
1) added fix to the case when lines are flushed at dispose step