When such real estate was attached on the original writ, the officer shall insert in the deed of sale the time of such attachment and vary the deed accordingly.