also replace object type check from vgroup_edit_lattice() with an assert since all callers check for lattice type.