filter already contained commits