Fix time line nth-child bug.