Fix bug in workgroups: When switching to a config and a buffer name already exists, create a new buffer name instead of failing.