Fix a bug where the first charmap entry wasn't added correctly.