Fix potential bug with the list collection
Make the index operator overload array-bounds safe