**System Information**
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78
**Blender Version**
Broken: 3.5 (all)
Worked: never
**Short description of error**
Say lineart modifier has source type collection. If we create instances of a collection which has lineart object as child of it, it'll create additional strokes after switching shading mode
**Exact steps for others to reproduce the error**
- Open attached file
- In linerart modifiers tab select source type "Collection". Add `Collection 2` in empty field
- Create `Collection 2` instance
- Change viewport Shading mode
{F13936399}