Fix issues around rename and live document sessions