Only include first tag on the row

This can happen when custom patterns and built-in patterns both generate
a tag for the line.