Addded FIXME for data loss bug, fixed trend order bug.