If the court finds that a part of the amount demanded in the prior action is not justly due, or was not payable when the action was commenced, it shall order the attachment dissolved in whole or in part as justice requires; but such order shall have no other effect on the prior action. If the hearing is in the supreme judicial or superior court, the court shall, upon motion, order a jury trial of any question of fact.
Mass. Gen. Laws ch. 223, § 108