take a look at the FITS header for the flat subs. if they are missing the filter keyword for some reason, BPP does not know how to match them up with the lights.
if worse comes to worse you can use the 'custom' feature to force your flat files to belong to a particular filter.
rob