Use correct variable to access preferences.

Fixes a bug when config.default_language is set.