delta: fix minmatch logic