If there shall be a foreclosure and sale under any such mortgage or deed of trust on land, the deed of conveyance made to a purchaser pursuant to a sale thereunder shall recite the names of all parties to and the date of such mortgage or deed of trust, and also the book and page of the record thereof, and if made by a substituted trustee shall also recite the book and page of the record of his substitution and appointment; but the omission of such recitations shall not invalidate the deed of conveyance.