Adding id to onPhotoDeleted. #1442