Fix NULL UNION NULL handling

A comment in the code makes it clear what is intended. But there was a minor problem (missing else) in the control flow. Strengthen the sanity check from skipping the column, and so generating a short row, to an assertion.

Includes a test case.