Added changes in Model::exists()