Introduced CachedOrderQuery and rewired ToInvoiceDisplay extension to use it to pull orders for invoices