Fixed __getitem__ in MiniBatchDataProvider