The terms of such consolidation shall require the payment of all outstanding bonded indebtedness and other indebtedness of each of such improvement districts, and no order of consolidation shall in any way reduce or impair the security of any creditor of either of said improvement districts.