Oops... Maybe I spoke too soon. It certainly solved the problem on the duplicate images on the 1, 7 & 14 day views.
However, it also introduced a problem. In the secondary categories the photo now longer shows at all when you just view the category to see all the photos in it (no restriction on dates). Which basically takes away the benefit of having multiple categories.
Any other suggestions?