Tightened the export rules

- text, xml, ioc exports of attributes with to_ids == 0 are now
  blocked.