Retrieve values if the attribute does not exist

Fixes #28