### Describe the bug, including details regarding any error messages, version, and platform. I've minimized the reproduction in the following C++ case: ``` TEST(TestChooseKernel, ArraySpanNullCountForChunked) { auto indices = ArrayFromJSON(int64(), "[0, 1, 0, 1, 0, null]"); auto values1 = ArrayFromJSON(int64(), "[10, 11, 12, 13, 14, 15]"); auto values2 = ChunkedArrayFromJSON(int64(), {"[100, 101]", "[102, 103, 104, 105]"}); CheckScalar("choose", {indices, values1, values2}, ArrayFromJSON(int64(), R"([10, 101, 12, 103, 14, null])")); } ``` Failure: ``` Test has ended unexpectedly: Signal received: SIGSEGV ``` ### Component(s) C++