Fixed a Language Resolver null reference exception.