PLAY-8: Fetch correct key value for root document in tree widget