NTA-58 fix the rmuid when it is the last resource with id "0:0:0:0:1"