Ensure indices are always included in write_vertex_measures().