Bug 5682: Voided Invoices and PO Deliveries showing up in inquiries. Fixed.