Fixed date bug with dates < 1970