You can fix this in the CLIPS source code in the SlotToCode function
in tmpltcmp.c, by adding the lines
fprintf(theFile,",");
PrintHashedExpressionReference(theEnv,theFile,theSlot-
>facetList,imageID,maxIndices);
after
fprintf(theFile,",");
PrintHashedExpressionReference(theEnv,theFile,theSlot-
>defaultList,imageID,maxIndices);