Fixed bug where posts index sidebar would assume there are always posts.