Fixed a bug with photosetsGetPhotos