Add support for zero times and zero thread ids.