Fix merging conditions for *_througn with STI case

Fix #12474, by preventing merging of conditions of target_scope for *_through case with STI