Fix zero track length error