Fix CRM-1475 membership contribution-detail report

Fix the membership and contribution detail report when being used with ACLs see CRM-1475