Fixed paging bug.