fix bug with interleaved nullable and arrays