It should be taken into account that uppercase digraphs are transliterated correctly:
Њива > Njiva
ЊИВА > NJIVA not NjIVA