HTML-563: Fixed empty date validation