fix hashes for photos in groups