JCLOUDS-78: Fix record pagination problem. Backfill tests.