Fixing printing of attribute tags.