Disable `source_type` scope when `through` already scoped

Add a condition to disable the `source_type` automatic class scoping
when the `through_reflection` already has a scope.

Fixes #13920