Fix MR diff algorithm

Created by: dzaporozhets

MR from feature to master

master - A - B - C -D feature A - E - F

merge master to feature. MR commits B' C'. MR diff include C D E F. but should only E & F