MDL-22309 report_singleview: Fixing wrong uses of get_role_users()