Bug 23363: Fix Internal Server Error when clicking on shipment cost invoice link