Fix aggregate id-to-label conversion for empty labels or nillable attributes