NXP-14176: avoid NPE retrieving current document version label when current doc is null