Fix arg OOR exception when a search would return only one element