Fixed a bug in Language.get_by_id