Fix modelindex check in CG_UpdateGenericEnt
oops