don't include duplicate patterns in the results