Inside legacy GP -> GPv3 conversion, legacy vertex group `def_nr` was incorrectly guarded by the group count of each vertex, which can lead to missing groups since not all vertices will have weights in all groups. This fix use the total vertex group count to guard invalid `def_nr` values. Pull Request: https://projects.blender.org/blender/blender/pulls/130886