Fixed variable group handling by unsetting right index