PrairieReader: fix bugs in sequence indexing

Thanks to Melissa Linkert for noticing.