add missing null-value omission logic (fixes #1019)