Fix inheritance of stored_attributes (fixes #14672)

[Brad Bennett, Jessica Yao, & Lakshmi Parthasarathy]
Merge pull request #14833 from jyao6/attribute_inheritance

Fixed Attribute Inheritance Issue