Fix an edge case that would prevent the unknown element code being
entered.