Fixed syntax of null test for #206 fix