to check the usage of __getitem__ in RecordList