added loop in Reminders to fix sqlserver date errors.