Fixed bug in timecode conversion function.