This MR fixes a minor bug where duplicate configurations are not detected. This is due to a shadowed assignment of latestConfig which has been fixed.
latestConfig