This reverts commit 049f8569d89264dd630e4eeb8625b44735c1ae92. To be revisited with a more comprehensive solution covering parent selection when multiple parents exist.