Refactoring.
GetPhotos uses isDeleted property.