Fix a bug that meant we were reconfiguring LSM cursors far too often.