nat: add thread index assertions