Fixed the sidebar showing duplicate things