Fix for PDF invoice export