Fix for CommitList equal to 0