Fix group tab display logic