Fix the multiple secondary types in the sidebar