Fixed another head_commit issue