Fix problem with search sidebar when no selection defined