[PRD-5199] Report viewer goes into infinite loop when calling report via URL and using output-target/output-type