Fix for duplicated images in the photo lists