Issue #2131827 by ptsimard: Sidebar menu not outputting depth 3 and 4 correctly.