Fixes for the deleted model logic.