Reports - downloading to PDF created HTML

Architecture Version 9.49

In some scenarios, clicking the download button to create a PDF file of the report, the explorer dialog opened with HTML as file extension.
This has now been fixed.