I think I found the reason of the MapID duplication.
If batch_convert.cmd script or any other similar, which runs jnx2img.cmd several times in turn, the MapID generated for the first IMG is used for all subsequent maps.

@Eyelet99, have you used any batch conversion script for your JNX maps?