Correct edit and delete URLs