And the court may order such conveyance as shall be necessary to carry the purposes of this section into effect: Provided, That nothing herein contained shall have the effect to destroy or impair the title obtained by such levy, judgment, attachment, or other lien, of a bona fide purchaser for value who shall have acquired the same without notice or reasonable cause for inquiry.'