Fixes error in thousands separator formatting