Fixes to parsing for Primary Attribute blocks

Includes a fix for failure to append blocks under certain circumstances