Fixed a bug where the language code would not be recognised if a specific DB table name were provided in ALL CAPS.