One more bug fix for auto-sidebars