[#39688689] Remove association with deleted submissions

Rebased