diff --git a/transkription.xsl b/transkription.xsl
index 499610f53c98a4f4a7ee56a48bfd508b0a50539a..4e535b39324629d122bddadaf005aecb279d828e 100644
--- a/transkription.xsl
+++ b/transkription.xsl
@@ -431,7 +431,7 @@
         </span>
     </xsl:template>
     
-    <xsl:template match="lb[not(name(preceding-sibling::node()[1]) = 'pb')][not(parent::p and count(preceding-sibling::node()) = 0)][* or matches(., '\w') or not(@xml:id)]" mode="step3">
+    <xsl:template match="lb[not(name(preceding-sibling::node()[1]) = 'pb')][not(parent::p and count(preceding-sibling::*) = 0)][* or matches(., '\w') or not(@xml:id)]" mode="step3">
         <!-- Letztere Klammer verhindert, dass 2 Zeilenumbrüche hintereinander stehen. -->
         <xsl:choose>
             <xsl:when test="not(parent::p/*[1][self::lb][not(* or matches(., '\w') or not(@xml:id))])">