Fixed bug in bulk-add that always prevented last group in list from being created/updated