ip: fix possible missing trace indexes