fix bug 50930: retrieving an article by index with an index out of range should throw an exception