Set exists to false when deleting models. Fixes #1352.