Fixed id reassignment

Objects are free when removing from Tree, but id not reassigned. Thus
each file in DocumentRevisionsService's Map has unique id for the
project.