fix(association scopes): fix bug with include.where combined with include.association.scope, closes #2740