I'm not sure if it is an expected condition (I didn't set it, so it may be another issue), but my duplicatedQSOSlotInSecs is 0, so an impossible query was generated (e.g. qso_date > 2023-05-06 00:17:00 AND qso_date < 2023-05-06 00:17:00). To fix this, I made both comparisons inclusive.
adifLoTWReadLog2 was completely ignoring submode (so FT4 appeared as MFSK (modeid 76 rather than 26), for example), so I added a check for it and use it when present.
I'm not sure if it is an expected condition (I didn't set it, so it may be another issue), but my duplicatedQSOSlotInSecs is 0, so an impossible query was generated (e.g. qso_date > 2023-05-06 00:17:00 AND qso_date < 2023-05-06 00:17:00). To fix this, I made both comparisons inclusive.
adifLoTWReadLog2 was completely ignoring submode (so FT4 appeared as MFSK (modeid 76 rather than 26), for example), so I added a check for it and use it when present.