DebugInfo: Ensure unit IDs (for non-skeletal units) match thein index in the list