NMS-7156 fix NPE when changing node labels