(d) When the estate of a protected person is liable for any charge, mortgage, lien, or other encumbrance upon the real estate therein, the court may refuse to confirm the sale or lease until after the filing of a bond in such amount as the court may direct conditioned to save the estate harmless.