Fixed bug in container __getitem__