Fixing XBRL tag reading for context, etc