The element of an ItemList is now retrieved correctly

The element of an ItemList is now retrieved correctly when it has been set by the user.