Fixed bug with dates inconsistencies.