Fix invoice.transactions has no order_by issue