Fixes paging issue where paging cookie was not reset