Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletes