Fix for test ballot generation code and for display of letters