Guard against illegal index passed to CraftInvCrafting.getItem