--fix for datatable error when date field is blank in custom data