Indexing parent_id in commit_graph