Fixing the concatenation of matches so that there is no overlap