Fix Mongoid filter error

```NameError: undefined local variable or method `filter'```
Merge pull request #128 from barodeur/fix_mongoid_filter_not_defined

Fix Mongoid undefined 'filter' error