Fix an assert error.