Fixed incorrect number of configs created.