Paged_records are correct now. No more json errors either.