Right after the section you quoted: "If a voter has not yet affiliated with a party, they are able to vote in either party’s primary election. "
So to your original point. You do not need to be affiliated to vote in the primary, but if you are affiliated you must vote in your affiliated party’s primary.