[finishes #51331611] Don't let empty collections add actions to the sidebar