Fixed problem with thousands/decimal separator getting removed when settings aren't set. Fixes #984