Fix logic behind assigning indices to visualizer tabs
Merge branch 'spikesorting' of https://github.com/open-ephys/GUI into spikesorting