Handle null case in  where the data's field may not be set