Fix on pagination with reports.