fix checking existance of field with null value