Fixed emission of multiple lines if multiple counters match.