Fix gb_enc assert.