Fix recent project index order (#12507)

Fixed bug introduced in:
https://github.com/zed-industries/zed/pull/12502

Filtering before `enumerate` call breaks project order and instead of
hiding current project it hides some other project.

Release Notes:
- N/A
819bb2663dVladas Zakrevskis committed on 5/31/2024, 2:50:03 AM· committed by GitHubparentdc141d0
1 file changedLine totals unavailable