Do no set parent value to key value if no parent in metadata