Fixes #75

Changed spec to reproduce the error. It only manifested itself when the
missing attribute was the direct descendant of an existing one.