Fixed issue in which created group doesn't exist yet when traversing commits