How to reproduce:
1. Open the user’s attached “AdvancedSearchInconsistency.zip” project
2. Go to Preferences > Search and set Scene Search Engine to “Advanced”
3. In the Project window, select ‘CubeAndSpherePrefab“ right click and select “Find References In Scene”
4. Observe the result in the Hierarchy window
Expected result: Only “CubeAndSpherePrefab” is found
Actual result: “CubeAndSpherePrefab” and its nested GameObjects are found
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0b5
Reproduced on: macOS 13.4.1 (Intel)
Not reproducible on: No other environment tested
Note: not reproducible with the “Classic“ Search Engine