Fix an ineffective assert.