Fix small remaining issue with display of document directories in sessions - refs BT#7128