Fix bugs in PDF generation (destinations list not showing).