Fixed crash brought about by having no ungrouped labels