Fix wrong assert.