Fix bug in TimeBasic class.