drop_epochs: Check indices are not out of bounds
Merge pull request #959 from TalLinzen/drop_epochs_out_of_bounds

drop_epochs: Check indices are not out of bounds