Changed the way long strings are stored to avoid small differences affecting date string comparisons.