Fix None in add_token_positions - issue #10210
Related to the issue #10210 

I fix the error in that way, can you confirm is right?

@joeddav @sgugger 

Kind regards,
Andrea
Hello @joeddav,
Yes the proposed change works!

I have updated the commit.

Thank you for the attention,
Andrea