small bug fix for image duplicates display but still duplicate in db because of image without url