Fix when user has no photos.
Upgrade gems.