We have version 1.3.2 with ZC 1.3.9h

This works fine, EXCEPT when we try to export 1 product per row. Then we get an SQL error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4 in:
[SELECT Count(*) as num_rows FROM orders_products_attributes WHERE orders_id = 19012 AND orders_products_id = ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Is there a fix for this?