[BZ 1079368] Fix potential NPE in nullable column