[CLEANUP] Fixes a test failure when the parent member null.