Fixed bug in ExportIndex minus operator, enhanced export of for loops.

When increment is "--" (-1 increment), the for-loop checks for: "final
val" < "for-loop val".