The same section provides, in subd. f, 'that all levies, judgments, attachments, or other liens obtained through legal proceedings against a person who is insolvent, at any time within four months prior to the filing of a petition in bankruptcy against him, shall be deemed null and void, in case he is adjudged a bankrupt.'