When adding light frames, it seems that BatchPreprocess script fails to classify the images by the exposure time. If there are two frames with different exposure, they should appear in the tree under different branches.
I have prepared a small test case with two images with different exposures exp60.fit and exp900.fit. The exposure is defined in both EXPOSURE and EXPTIME tags. Both images are classified together in a branch named as the exposure of one of them.