singleselection: check model range before getting item
It is invalid to request an item from a model outside the range of the selection. In some cases, we can avoid the check since we know there was an item added to the model.
It is invalid to request an item from a model outside the range of the selection. In some cases, we can avoid the check since we know there was an item added to the model.