Fixed a regexp bug in Media.Photo.