Fix redirect after sample delete