Fix nil dates