fixed ImagingDataset.__getitem__ method for slicing of datasets