Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the Project window
3. Drag and drop any folder into the Favorites section
4. Select the favorite entry and press the “Delete” key
5. In the confirmation dialog, click Delete
6. Observe the Console window
Expected result: No warnings appear
Actual result: “The operation "SoftDelete" cannot be executed because the selection is a root folder.” warnings appear
Reproducible with: 2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a8
Reproducible on: Windows 11
Not reproducible on: No other environment tested