should be possible to extend the on clause with a where option on a hasMany include with a through model