Fix duplicate root block bug.