/bset without -t takes ASCII values, not text. This is explicitly documented in the help, and the behaviour that occurs when disregarding the documentation is undefined, so it's not really a bug.

Use /bset -t &var 1 /