Fixed problem when TrialStart is not a valid date