**System Information**
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.76
**Blender Version**
Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-07 22:08, hash: `rB229d0ace026f`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
When converting a GN object with a modifier which uses a GN node network containing Capture Attribute node(s) into a mesh using bpy.ops.object.convert(target='MESH'), the resulting mesh contains anonymous attributes user has not intended to output.
**Exact steps for others to reproduce the error**
1. Open the attached file: {F12855177}
2. Convert the cube to mesh using Object>Apply>Visual Geometry to Mesh:
{F12855179}
Result: The resulting mesh contains internal anonymous attributes user has not intended to output
Expected: The resulting mesh contains only the attributes user has intended to output