Fix variable iteration method to still work when ranges_eval is initially None.