LDEV-4696 Reintroduce a failsafe for missing branch activities setThere are normal situations where the collection is null. It needs to bechecked before attempting to add something.
LDEV-4757 Fix group overwriting with same UIIDGroups' UIIDs were not taken into account when calculating max UIID foropened LD. Sometimes an existing UIID got generated and it overwrote anexisting group.Also adjust new group naming.