Fix regression in DetectorDataService::drop_slice
This MR fixes a regression introduced by !304 (merged) and exposed by !286 (merged).
The problems is that in the refactoring of DetectorDataService::drop_slice
I accidentally remove an important line.