Fix error when response is a single photo.