Add session event index to cursor.
Fix session_event_index.