Selecting parent node returns Error: Cannot select node outside the current edit context's scope

Possibly related to Select (single) nodes outside the edit context programmatically?