fixed issue since, at least 2.10. Avoid PHP Notices, Warnings when data source is invalid (empty report)