Fix rd viewer component to work with recent SVN changes