moved calculation of label selections to the appropriate place now that the select all logic moved.