Remove unnecessary 'where' query from getAllReports.