Statistics
The writing statistics of every user (the words, the time spent, the size of each book, day by day) are kept in the database. They record when the users worked on their books and the names and folders of the books, also of the ones that were deleted. The Statistics tab of the Admin page gives you the means to limit that. Users can do the same for themselves in their settings and clear their own statistics in the statistics windows.
Deleted statistics cannot be brought back, except from a database backup: the statistics are part of the database (the backup of a single book does not carry them).
The cleanup does not touch the statistics, because they are not deleted objects: they hold the book by its id and outlive it on purpose.