[oozie] Better delete logic for widgets