Fixing bug in SVG exporter
The classes optimization parameter was not taken into account correctly.