Fixed ruby 1.8.7 issue with dates too old