Fixed bug where unpublished posts were showing up in the sidebar.