Correct join logic on commit details