Fix a bug where the last entry in an index cache line was not being read correctly on re-open.
Merge remote-tracking branch 'origin/master'