Good catch - but I think an else case is missing here.
```js
if (!Utils._.isUndefined(params.where)) {
  params.where = Utils._.extend({id:id}, params.where)
} else {

}
```