Fixing bug for report not being generated for custom controller failing to load