Fix grandchildren never appearing.

From #5421.