TypeError Fix to check for data types (e.g. "Date" != "")