[minor] Fixed typo in logic to determine unnamed values.