Small fix to mimick behaviour of ElemantAt for IList<T>.