diff --git a/templates/protocol-tops-include.html b/templates/protocol-tops-include.html
index 1d9fbc21aaa11dc08148f41c011f1189fbd0e7d0..aec6c6038a8e5e73909c827c62c417abe950369c 100644
--- a/templates/protocol-tops-include.html
+++ b/templates/protocol-tops-include.html
@@ -4,18 +4,20 @@
         {% for default_top in protocol.protocoltype.default_tops %}
             {% if not default_top.is_at_end() %}
                 {% set localtop = default_top.get_localtop(protocol) %}
-                <li class="{{localtop.get_css_classes()|join(" ")}}" {% if localtop.is_expandable() %} id="localtop-{{localtop.id}}" title="{{localtop.description}}"{% endif %}>
-                    {{default_top.name}}
-                    {% if not protocol.is_done() and has_modify_right %}
-                        <a href="{{url_for('edit_localtop', localtop_id=localtop.id)}}">Ändern</a>
-                    {% endif %}
-                    {% if has_private_view_right and localtop.description is not none and localtop.description|length > 0 %}
-                        <span class="glyphicon glyphicon-info-sign"></span>
-                        <pre id="localtop-{{localtop.id}}-description" class="expansion-text">
-                            {{-localtop.description-}}
-                        </pre>
-                    {% endif %}
-                </li>
+                {% if localtop is not none %}
+                  <li class="{{localtop.get_css_classes()|join(" ")}}" {% if localtop.is_expandable() %} id="localtop-{{localtop.id}}" title="{{localtop.description}}"{% endif %}>
+                      {{default_top.name}}
+                      {% if not protocol.is_done() and has_modify_right %}
+                          <a href="{{url_for('edit_localtop', localtop_id=localtop.id)}}">Ändern</a>
+                      {% endif %}
+                      {% if has_private_view_right and localtop.description is not none and localtop.description|length > 0 %}
+                          <span class="glyphicon glyphicon-info-sign"></span>
+                          <pre id="localtop-{{localtop.id}}-description" class="expansion-text">
+                              {{-localtop.description-}}
+                          </pre>
+                      {% endif %}
+                  </li>
+                {% endif %}
             {% endif %}
         {% endfor %}
     {% endif %}