If the commissioners, after making a sale in accordance with the preceding section, distribute the proceeds in accordance with the order or decree of the court before learning of any conveyance, mortgage, lien or other encumbrance of or upon the share of any of the joint owners, they shall not be liable to such claimant.