The thickness of the Middleburn outer ring is greater than the original Shimano one.
This effectively paces the inside of the outer ring closer to the chain when it is running on the midle ring. The ramps and pins on the outer Middleburn ring are snagging on the chain causing the issue you mention, particularly when using the 'small' end of the cassette.
Solution....
1 Change the outer ring back to Shimano [preffered option]
2 put a small spacer on the outside of the middle and inner rings - this will put a bit more space between the outer and middle ring.
I had the same issue some time ago....
Hope this helps.
Chaser.