Fix crash for mods that use looting levels above 3