Fixed a bug in evaluateTimeWizard().