fixed DocumentRepository - added forgotten SetCurrent method