Fix bug 2018: Skip exception if model has been removed