Skip `include_values` from through associations chains for building target scope

Fixes: #12242, #9517, #10240
Merge pull request #12664 from jetthoughts/12242_includes_in_through_association

Skip `include_values` from through associations chains for building association scope