Fix #13: clique.assemble returns incorrect remainder when input path match several patterns