Fix for Bug NMS-6775

Upgrading from 1.8 to 1.12 breaks the scheduled reports generated
through the WebUI.