Photos to photo activity bug fix.