Fix deep config saving.