Mdiff outputs unexpected result