Fix a bug where an attribute was lacking an object to work off of.

Related to the fix for issue #9572. Thanks to Ɓukasz Czuja for catching the
bug.
1 file changed