Account for possible null data for Date field types.

In the case that no data was entered for a Date type field,
crashes would occur when calls to convertStringToDate were made.