Use parent value if current is undefined

Fixes #38