HUGE bug fix

before, all documents of a given name were deleted regardless of user.