Chained scopes will be preloaded properly. Fixes #7490
Merge pull request #7792 from seejee/chained_scopes_preload_properly

Fixes Issue #7490: Chained scopes will preload properly