Fixed 500 when editing photo which has been deleted from Flickr