Added string check and length check for date_string