Fix try for GetPreviousPhoto() method