The configuration can be updated if the bunch group set changes, but this is not checked by the TDT which can result in a segfault. This MR fixes that but also removes some annoying code duplication between where the configuration tool and service are used.