DefaultClient, pass version from `add()` to `set()`

Simple but critical fix.