[Draft] Prevent KeyError in QA pipeline
closes #4873 

With the question answering pipeline, sometimes the model selects an answer that is out of bounds. This ensures that it will select the maximum token it can select, and prevents KeyErrors from happening