Fixed regression by bugfix in merging inherited properties.

The change was a too zealous and also removed parent references in GUI
pages.