Fix invalid callback for delete.