The "n" in "na" is not the same as the "n" in "ni".
However, only some consonants get this treatment, such as "sa" and "shi", because it only takes into account what a typical English speaker can distinguish.
Do they have to keep such an English-centric approach? Why not "nyi"?