Fixed date validation on stats page