[server] Fix a bug in displaying deleted files in trash.

How to reproduce:
1. Find a repo that's updated a few days ago
2. Set the history limit to 1 day
3. Delete one file in the repo
4. Enter trash, the deleted file can't be displayed
[server] Add clean trash feature.