Fix delete in light of db change.