Fix crash on opening stats for items w/o traits