Reproduction steps:
1. Open the “SearchRenameProject“ project
2. Open a Search window (Window > Search > New Window)
3. In the saved searches panel right-click the “Scenes” saved search and rename it
4. In the Project window select the renamed saved search asset
Expected result: The saved search asset was renamed
Actual result: The saved search asset was not renamed in the Project window, and the “The main object name should match the asset filename” warning is in Inspector
Reproduced in: 2021.3.27f1, 2022.3.4f1, 2023.1.1f1, 2023.2.0a21
Reproduced using: Windows 10 (by reporter), macOS 13.4.1 (Intel)