fix redirect on deletion

Fixes #78