Added duplicate checking for groups/labels/accounts