added index to History on date.