Fixed oversharding bug.