Fixed empty sidebar being displayed.