Fix crazy bug in RecordReader nextKeyValue().

Thank goodness for unit tests!