Entry next sibling return a deactivated entry I got an entry template from a structured section.
With prev / next nav links at entry bottom.
But the next sibling is deactivated.
So the page return is 404 not found !  

{% set prev = entry.prevSibling %}  
{% set next = entry.nextSibling %}

{% if prev %}
    &lt;a class="nav-prev nav-left" href="{{ prev.url }}"&gt;&lt;&amp;nbsp;{{ prev.title }}&lt;/a&gt;
{% endif %}
{% if next %}
    &lt;a class="nav-next nav-right" href="{{ next.url }}"&gt;{{ next.title }}&amp;nbsp;&gt;&lt;/a&gt;
{% endif %}


Should it be status=live by default no?
The getNextSibling documentation says:


  getNextSibling() will return the next sibling whether or not it’s enabled. If you want to get the closest enabled sibling, you can do this instead:


{% set next = craft.entries.positionedAfter(entry).order('lft asc').first() %}


Similarly for getPrevSibling to get the previous enabled sibling you can do:

{% set prev = craft.entries.positionedBefore(entry).order('lft desc').first() %}