Fix error thrown from the report