Make sure to query document with inherit set to true.
Don't forget that defaultValue is nil, not empty string for Attr.