diff --git a/code/tasks/ShopMigrationTask.php b/code/tasks/ShopMigrationTask.php
index <HASH>..<HASH> 100644
--- a/code/tasks/ShopMigrationTask.php
+++ b/code/tasks/ShopMigrationTask.php
@@ -116,8 +116,9 @@ class ShopMigrationTask extends BuildTask{
 	 * Performs calculation function on un-calculated orders.
 	 */
 	function migrateOrderCalculation($order){
-		if(!$order->Total){
+		if(!is_numeric($order->Total) || $order->Total <= 0){
 			$order->calculate();
+			$order->write();
 		}
 	}
BUGFIX: orders now calculate during migration task, if they don't have a Total