Fix redirect on deleting a trace