Fixed bug with incorrect rendering pdf report.