Performance fix for company-specific access rights

Reporting

Fixed an issue where full company access to specific companies (not the permission full company access) affected the runtime of reports.