remember to use the proper alias for the where clause too
Merge pull request #5 from seako/chaining-settings-scopes

remember to use the proper alias for the where clause too