Fixed error with empty string passed as thousands_sep