Updated LanguageDatabase to fix cursor problems.