[FIX] Qtyassign_cmp in all cases