fixed Model::__isset so that it works for lazy relations