Paging store records, fixing issue #41