If there is judgment for a return of the property so replevied, the plaintiff in replevin and his sureties shall be liable for the whole of the property or the value thereof, although the attachment for which it is finally held was made after the property was replevied.
Mass. Gen. Laws ch. 223, § 54