select the part containing that doubles and on the same menu midi->functions,you have to select delete overlaps(mono).