The original: I pledge allegiance to my Flag and the Republic for which it stands, one nation indivisible, with liberty and justice for all.
This change was largely brought about by the realization that the pledge was dangerously close to the NAZI party's way of indoctrinating Nationalism (however Fascistic it was)[2] and that there should be some manner to differentiate between the good, moral, American version and the evil, unethical German version.
Nationalism (and Socialism) were ideologies of the 19th Century, and America does not have a great history of citizenship for all, with certain cultures not sharing in it until post WW1.[3]
So, I'm afraid: the pledge does, and always has had, a streak of Nationalism a mile wide to it. I find the modern American denial of this fascinating.
And, if you cannot see how it is used to indoctrinate children, then I am happy to provide non-wiki specific psychology papers proving that it does.
[1]https://en.wikipedia.org/wiki/Pledge_of_Allegiance#Addition_... [2]https://en.wikipedia.org/wiki/Bellamy_salute [3]https://en.wikipedia.org/wiki/Indian_Citizenship_Act_of_1924