Religions do seem to get a pass, though - I’ve never seen accusations of people being “Jewish nationalist” or “Christian nationalist” or “Muslim nationalist” for expressing wishes their kids will marry within the religious “nations”.
There is a difference here - one can convert and change their religion (not so for genetic origin…) but it’s too similar in my opinion and shouldn’t get the “acceptable” pass that it does.