don't redirect to a deleted item
fixed bad keyword argument