Fixed unexpected behavior in filtering by substring

#238 is not working as expected.
```js
DS.filter('user', {
  where: {
    name: {
      'in': 'John'
      // expected: user.name.indexOf('John') !== -1
      // actual: 'John'.indexOf(user.name) !== -1
    }
  }
});
```