I checked and realised I had an empty folder listed in the library paths (which I had stopped using around the same time as seeing this issue!). After removing this empty folder and rescanning, the issue disappeared. I now have the correct number of genuine duplicates.