The list of materials and list of submeshes are in the same order. Material 0 goes on submesh 0, Material 1 goes on submesh 1 etc…
In your case material 0 goes on submesh 0, material 1 goes on submesh 1 and submesh 2…26 are ignored, invisible. One way to see what triangles are in these submeshes is to create a bunch of solid color materials and add them to the list of materials.
You can also get the triangle indexes for the 13 submesh using: