Possible fix for attribute array-type issue

Addresses issue #498, in which top-level array types are not handled properly by the high-level attribute infrastructure.