Pagination fix for linked items.