Fixed bug in `toObjectNode` of `ActivityDetail`.