Make media_confirm_delete to work for failed media entries too.