Fixed bug in CreateOrderReport