still need to find how an invalid defgroup index is set, but at least dont show the vertex group as selected when its not.