In acting upon an execution, so endorsed, the sheriff shall proceed as if the surviving owners, or the personal representatives or heirs as above provided, were the only owners of the judgment upon which it was issued, and take bonds accordingly.