Fix bugs in particle track output.