Fix bad assert.