add missing null-value omission logic (#1019)