Value instance cannot be used in a conditional
To parse a version string of the format `major.minor.patch.build` (where `build` can be optional):
```ksy
version:
  seq:
    - id: parts
      type: str
      encoding: ascii
      terminator: 0x2e
      repeat: eos
      eos-error: false
  instances:
    major:
      value: parts[0].to_i
    minor:
      value: parts[1].to_i
    patch:
      value: parts[2].to_i
    build:
      value: parts[3].to_i
```

When I try to access it in a conditional:
*FYI: this code occurs after parsing event[0], which is directly parsed as `version`*
```ksy
instances:
  uses_utf16:
    value: |
      events[0].as<event::version>.major >= 11 and
      events[0].as<event::version>.minor >= 5
```

I get an error in `ksv`
```
`uses_utf16': undefined method `major' for Flp::Event(id=:id_version len=VlqBase128Le(groups=[VlqBase128Le::Group(b=12 has_next=false value=12)] len=1 value=12) data=Flp::Event::Version(parts=["20", "8", "4", "2576\\x00"])):Flp::Event (NoMethodError)
```

### Version info
* ksv: 0.7
* ksc: 0.10