It probably is reading the wrong quantity field, hence showing 0. (for instance, ordered or availPhysical instead of Deducted)
If you write a select with sum(Deducted), and join with InventTrans.InventTransType::QuarantineOrder, you should get a non-Zero value..