Fixes to caching in metaAttributes