fixed restore

now when staff restores the library, checked out is cleared and the
checked in (catalog.txt) is fully stocked again