Remove additional variables from ranges