Category bug fix on export.