Fixes paging for local data