Fix crash and incoherent dates in analytics display