Fix changes not applied when single related item is deleted