DDF-690: added code to ensure that start index is 0 when retrieving first record